
import KRouter from '../plugin/krouter'
import Vue from 'vue'

Vue.use(KRouter);
import Home from '../components/Home.vue'
import About from '../components/About.vue'

const router = new KRouter({
  routes: [
    {
      path:'/',
      name:'Home',
      component: Home
    },
    {
      path:'/about',
      name:'About',
      component: About
    }
  ]
})

export default router;
